Skip to content

[fix][security] Fix secure problem CVE-2017-100048#21

Open
gaoran10 wants to merge 2 commits intobranch-2.10from
fix-CVE-2017-1000487
Open

[fix][security] Fix secure problem CVE-2017-100048#21
gaoran10 wants to merge 2 commits intobranch-2.10from
fix-CVE-2017-1000487

Conversation

@gaoran10
Copy link
Owner

Motivation

The secure problem CVE-2017-1000487 is caused by the dependency org.codehaus.plexu:plexus-utils:2.0.6. Refer to this.

CVE-2017-1000487
Plexus-utils before 3.0.16 is vulnerable to command injection because it does not correctly process the contents of double quoted strings.

The dependency tree is this.

io.prestosqlpresto-main:332
  -- io.airlift.resolver:resolver:1.5
      -- org.apache.maven:maven-core:3.0.4
           -- org.codehaus.plexus:plexus-utils:2.0.6

Modifications

Exclude the dependency org.codehaus.plexus:plexus-utils:2.0.6, and import org.codehaus.plexus:plexus-utils:3.0.16.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@github-actions
Copy link

The pr had no activity for 30 days, mark with Stale label.

@github-actions github-actions bot added the Stale label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant